import Package.Example.Example;
import Package.Network_Programming.Base.Base;
import Package.Network_Programming.InetAddress.InetAddresss;
import Package.Network_Programming.PortsAndProtocols.PortsAndProtocols;
import Package.Network_Programming.UDPAcceptsData.UDPAcceptsData;
import Package.Network_Programming.UDPSendsData.UDPSendsData;

import java.io.IOException;
import java.net.SocketException;
import java.net.UnknownHostException;

public class Main {
    public static void main(String[] args) throws IOException {
        Base.Base();
        InetAddresss.InetAddresss();
        PortsAndProtocols.PortsAndProtocols();
        try {
//            UDPSendsData.UDPSendsData();
//            UDPAcceptsData.UDPAcceptsData();
            Example.Example();
        } catch (SocketException e) {
            throw new RuntimeException(e);
        }
    }
}